/*****************************************************************
|
|    AP4 - pasp Atom
|
|    Copyright 2011 Aleksoid1978
|
 ****************************************************************/

/*----------------------------------------------------------------------
|       includes
+---------------------------------------------------------------------*/

#include "Ap4PaspAtom.h"

/*----------------------------------------------------------------------
|       AP4_PaspAtom::AP4_PaspAtom
+---------------------------------------------------------------------*/

AP4_PaspAtom::AP4_PaspAtom(AP4_Size         size,
                           AP4_ByteStream&  stream)
	: AP4_Atom(AP4_ATOM_TYPE_PASP)
{
	size -= AP4_ATOM_HEADER_SIZE;
	stream.ReadUI32(m_num);
	stream.ReadUI32(m_den);
}
